
@import './base.less';

html{
    width: 100vw;
}
header{
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    height: 11.7333vw;
    background-color: red;
    color: white;
    text-align: center;
    line-height: 11.7333vw;
    font-size: 4.2667vw;

}
//中心体
.main{
    background-color: rgb(241, 241, 242);
    margin:  11.7333vw 0;
    .search{

        padding: 2.6667vw;
        a{
            display: block;
            width: 94.6667vw;
            height: 8.2667vw;
            border-radius: 1.0667vw;
            background-color: #fff;
            text-align: center;
            line-height: 8.2667vw;
        }
    }
    // 公告
    .announcement{
        display: flex;
        height: 7.4667vw;
        background-color: rgb(242,219,219);
        line-height: 1.6;
        position: relative;
        overflow: hidden;
        .icon-laba{
            color:red;
            font-size: 4.5333vw;
        }
        p:nth-child(1){
        width: 9.3333vw;
        height: 100%;
        padding:0 2.1333vw ;
        background-color: rgb(242,219,219);
        position: absolute;
        z-index: 10;
        }
        p:nth-child(2){
            margin: 0 1.6vw;
            color:rgb(255, 30, 2);
            font-size: 3.7333vw;
            animation: run 6s linear infinite;


        }
        @keyframes run {
            0%{
                transform: translateX(96vw);
            }
            100%{
                transform: translateX(-72vw);
            }
        }
    }
    // 分类
    .classify{
        height: 45.3333vw;
        background-color: #fff;
        display: flex;
        justify-content: space-around;
        align-items: center;
        flex-wrap: wrap;
        // margin-bottom: 2.6667vw;
        a{
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 20%;
            img{
                width: 11.7333vw;
                height: 11.7333vw;
            }
            p{
                font-size: 3.4667vw;
            }
        }
    }
    // 主会场

    //商品列表
    .goods-item{
        height: 100%;
        .item{
            height: 37.3333vw;
            background-color: #fff;
            margin-bottom: 1.6vw;
            display: flex;
            justify-content: space-around;
            padding: 2.6667vw;
            .left_photo{
                 img{
                width: 32vw;
                height: 32vw;
                    margin-right: 5.3333vw;

            }
            }
            .right_txt{
                display: flex;
                flex-direction: column;
                justify-content: space-around;
                h3{
                    font-size: 3.4667vw;
                    color: #484848;
                    overflow: hidden;
	                text-overflow: ellipsis;
	                display: -webkit-box;
	                -webkit-line-clamp:2;  /* 设置行数 */
	                -webkit-box-orient: vertical;
                }
                p:nth-child(2){
                    font-size: 3.2vw;
                    color: #999;
                }
                p:nth-child(3){
                    font-size: 4vw;
                    color: red;
                     span{
                        font-size: 3.2vw;
                        color: #999;
                    text-decoration: line-through;
                }
                }

            }


        }
    }

}


// footer
footer{
    position: fixed;
    bottom: 0;
    left: 0;
    z-index:99;
    height: 13.3333vw;
    width: 100%;
    border-top: 0.2667vw solid rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-around;
    background-color: #fff;
    margin-top: 1.6vw;
    a{
        width: 25%;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;

        .iconfont{
            font-size: 5.3333vw
        }
        p{
            font-size: 3.2vw;
        }
    }
    .active{
        color:red
    }
}